package com.ruoyi.aqi.mapper;

import com.ruoyi.aqi.domain.AqiDay;
import com.ruoyi.aqi.domain.StationRankDay;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 空气质量天Mapper接口
 *
 * @author houtaroy
 * @date 2024-03-25
 */
public interface StatisticMapper {

    List<StationRankDay> stationRankDay(String station);

    List<StationRankDay> stationYearRankDay(@Param("station") String station, @Param("year") Integer year);

    List<AqiDay> stationYearAQI(@Param("station") String station, @Param("year") Integer year);

    List<AqiDay> stationYearIAQI(@Param("station") String station, @Param("year") Integer year);

    List<AqiDay> aqi();

    List<AqiDay> aqiYear();

    List<StationRankDay> rankDay();
}
